<!--Generate by Kevin's CodeBuilder -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
		<meta charset="UTF-8">
		<title>工作流管理系统</title>
		<head  th:replace="source::header"></head>
</head>
<body>
	<div id="downlable"></div>
	<script type="text/javascript">
	$B.DomUtils.onDomLoaded(function(){
		setTimeout(function(){
			var pr = {pid: '[(${pid})]'};
			$B.Download("downlable",{
			  	url: $B.getHttpHost(ctxPath) + "org/export?cmd=export",
				params:pr,
				onSuccess:function(res){ //成功时候的回调
					setTimeout(function(){
						parent.$win.close();
					},2000);
				}
			});
		},100);
	});
</script>
</body>
</html>